/*
 * Copyright (c) 2023. 
 *
 * 作者：bmy
 * 邮箱：2271608011@qq.com 
 * gitee：https://gitee.com/bmycode
 * github：https://github.com/helpcode
 *
 */

class Http {
  public async get(url: string) {
    const response = await fetch(url, {
      method: "GET",
    });
    return await response.json()
  }
}

export default new Http